package com.wj.facedetect.bean.settting;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by wujing on 2018/3/30.
 */

public class GetAllKuBean {

    /**
     * message : OK
     * results : [{"comment":"","create_time":1522307775,"creator":1,"extra_meta":{},"face_image_num":0,"failed_picture_num":0,"id":1,"is_visible":1,"is_writable":true,"last_update_picture_time":1522307775,"meta":{"is_for_case":true},"name":"案件库","need_load":1,"permission_map":{"0":2,"1":2,"101":2,"102":2,"400":2,"452":2,"453":2,"501":2,"502":2,"503":2,"504":2,"505":2,"553":2,"554":2,"601":2,"602":2,"603":2,"604":2,"605":2},"predecessor_ids":[2],"total_picture_num":0,"type":1},{"comment":"","create_time":1522308541,"creator":1,"extra_meta":{},"face_image_num":1060,"failed_picture_num":0,"id":2,"is_visible":1,"is_writable":true,"last_update_picture_time":1522308698,"meta":{"creator":"3@DEFAULT","repoType":"0"},"name":"明星库","need_load":1,"permission_map":{"0":2,"1":2,"101":2,"102":2,"400":2,"452":2,"453":2,"501":2,"502":2,"503":2,"504":2,"505":2,"553":2,"554":2,"601":2,"602":2,"603":2,"604":2,"605":2},"predecessor_ids":[2],"total_picture_num":1060,"type":1},{"comment":"","create_time":1522308809,"creator":1,"extra_meta":{},"face_image_num":62,"failed_picture_num":0,"id":3,"is_visible":1,"is_writable":true,"last_update_picture_time":1522308829,"meta":{"creator":"3@DEFAULT","repoType":"0"},"name":"明星库111","need_load":1,"permission_map":{"0":2,"1":2,"101":2,"102":2,"400":2,"452":2,"453":2,"501":2,"502":2,"503":2,"504":2,"505":2,"553":2,"554":2,"601":2,"602":2,"603":2,"604":2,"605":2},"predecessor_ids":[2],"total_picture_num":62,"type":1}]
     * rtn : 0
     * sets : [{"id":2,"is_writable":true,"meta":{},"nodeType":"repository_website_root","permission_map":{"0":2,"1":2,"101":2,"102":2,"400":2,"452":2,"453":2,"501":2,"502":2,"503":2,"504":2,"505":2,"553":2,"554":2,"601":2,"602":2,"603":2,"604":2,"605":2},"predecessor_ids":[]},{"id":3,"is_writable":true,"meta":{},"nodeType":"repository_outside_system","permission_map":{"0":2,"1":2},"predecessor_ids":[]}]
     */

    private String message;
    private int rtn;
    private List<ResultsBean> results;
    private List<SetsBean> sets;

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getRtn() {
        return rtn;
    }

    public void setRtn(int rtn) {
        this.rtn = rtn;
    }

    public List<ResultsBean> getResults() {
        return results;
    }

    public void setResults(List<ResultsBean> results) {
        this.results = results;
    }

    public List<SetsBean> getSets() {
        return sets;
    }

    public void setSets(List<SetsBean> sets) {
        this.sets = sets;
    }

    public static class ResultsBean {
        /**
         * comment :
         * create_time : 1522307775
         * creator : 1
         * extra_meta : {}
         * face_image_num : 0
         * failed_picture_num : 0
         * id : 1
         * is_visible : 1
         * is_writable : true
         * last_update_picture_time : 1522307775
         * meta : {"is_for_case":true}
         * name : 案件库
         * need_load : 1
         * permission_map : {"0":2,"1":2,"101":2,"102":2,"400":2,"452":2,"453":2,"501":2,"502":2,"503":2,"504":2,"505":2,"553":2,"554":2,"601":2,"602":2,"603":2,"604":2,"605":2}
         * predecessor_ids : [2]
         * total_picture_num : 0
         * type : 1
         */
        private boolean isChecked;
        private String comment;
        private int create_time;
        private int creator;
        private ExtraMetaBean extra_meta;
        private int face_image_num;
        private int failed_picture_num;
        private int id;
        private int is_visible;
        private boolean is_writable;
        private int last_update_picture_time;
        private MetaBean meta;
        private String name;
        private int need_load;
        private PermissionMapBean permission_map;
        private int total_picture_num;
        private int type;
        private List<Integer> predecessor_ids;

        public boolean isChecked() {
            return isChecked;
        }

        public void setChecked(boolean checked) {
            isChecked = checked;
        }

        public String getComment() {
            return comment;
        }

        public void setComment(String comment) {
            this.comment = comment;
        }

        public int getCreate_time() {
            return create_time;
        }

        public void setCreate_time(int create_time) {
            this.create_time = create_time;
        }

        public int getCreator() {
            return creator;
        }

        public void setCreator(int creator) {
            this.creator = creator;
        }

        public ExtraMetaBean getExtra_meta() {
            return extra_meta;
        }

        public void setExtra_meta(ExtraMetaBean extra_meta) {
            this.extra_meta = extra_meta;
        }

        public int getFace_image_num() {
            return face_image_num;
        }

        public void setFace_image_num(int face_image_num) {
            this.face_image_num = face_image_num;
        }

        public int getFailed_picture_num() {
            return failed_picture_num;
        }

        public void setFailed_picture_num(int failed_picture_num) {
            this.failed_picture_num = failed_picture_num;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getIs_visible() {
            return is_visible;
        }

        public void setIs_visible(int is_visible) {
            this.is_visible = is_visible;
        }

        public boolean isIs_writable() {
            return is_writable;
        }

        public void setIs_writable(boolean is_writable) {
            this.is_writable = is_writable;
        }

        public int getLast_update_picture_time() {
            return last_update_picture_time;
        }

        public void setLast_update_picture_time(int last_update_picture_time) {
            this.last_update_picture_time = last_update_picture_time;
        }

        public MetaBean getMeta() {
            return meta;
        }

        public void setMeta(MetaBean meta) {
            this.meta = meta;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getNeed_load() {
            return need_load;
        }

        public void setNeed_load(int need_load) {
            this.need_load = need_load;
        }

        public PermissionMapBean getPermission_map() {
            return permission_map;
        }

        public void setPermission_map(PermissionMapBean permission_map) {
            this.permission_map = permission_map;
        }

        public int getTotal_picture_num() {
            return total_picture_num;
        }

        public void setTotal_picture_num(int total_picture_num) {
            this.total_picture_num = total_picture_num;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public List<Integer> getPredecessor_ids() {
            return predecessor_ids;
        }

        public void setPredecessor_ids(List<Integer> predecessor_ids) {
            this.predecessor_ids = predecessor_ids;
        }

        public static class ExtraMetaBean {
        }

        public static class MetaBean {
            /**
             * is_for_case : true
             */

            private boolean is_for_case;

            public boolean isIs_for_case() {
                return is_for_case;
            }

            public void setIs_for_case(boolean is_for_case) {
                this.is_for_case = is_for_case;
            }
        }

        public static class PermissionMapBean {
            /**
             * 0 : 2
             * 1 : 2
             * 101 : 2
             * 102 : 2
             * 400 : 2
             * 452 : 2
             * 453 : 2
             * 501 : 2
             * 502 : 2
             * 503 : 2
             * 504 : 2
             * 505 : 2
             * 553 : 2
             * 554 : 2
             * 601 : 2
             * 602 : 2
             * 603 : 2
             * 604 : 2
             * 605 : 2
             */

            @SerializedName("0")
            private int _$0;
            @SerializedName("1")
            private int _$1;
            @SerializedName("101")
            private int _$101;
            @SerializedName("102")
            private int _$102;
            @SerializedName("400")
            private int _$400;
            @SerializedName("452")
            private int _$452;
            @SerializedName("453")
            private int _$453;
            @SerializedName("501")
            private int _$501;
            @SerializedName("502")
            private int _$502;
            @SerializedName("503")
            private int _$503;
            @SerializedName("504")
            private int _$504;
            @SerializedName("505")
            private int _$505;
            @SerializedName("553")
            private int _$553;
            @SerializedName("554")
            private int _$554;
            @SerializedName("601")
            private int _$601;
            @SerializedName("602")
            private int _$602;
            @SerializedName("603")
            private int _$603;
            @SerializedName("604")
            private int _$604;
            @SerializedName("605")
            private int _$605;

            public int get_$0() {
                return _$0;
            }

            public void set_$0(int _$0) {
                this._$0 = _$0;
            }

            public int get_$1() {
                return _$1;
            }

            public void set_$1(int _$1) {
                this._$1 = _$1;
            }

            public int get_$101() {
                return _$101;
            }

            public void set_$101(int _$101) {
                this._$101 = _$101;
            }

            public int get_$102() {
                return _$102;
            }

            public void set_$102(int _$102) {
                this._$102 = _$102;
            }

            public int get_$400() {
                return _$400;
            }

            public void set_$400(int _$400) {
                this._$400 = _$400;
            }

            public int get_$452() {
                return _$452;
            }

            public void set_$452(int _$452) {
                this._$452 = _$452;
            }

            public int get_$453() {
                return _$453;
            }

            public void set_$453(int _$453) {
                this._$453 = _$453;
            }

            public int get_$501() {
                return _$501;
            }

            public void set_$501(int _$501) {
                this._$501 = _$501;
            }

            public int get_$502() {
                return _$502;
            }

            public void set_$502(int _$502) {
                this._$502 = _$502;
            }

            public int get_$503() {
                return _$503;
            }

            public void set_$503(int _$503) {
                this._$503 = _$503;
            }

            public int get_$504() {
                return _$504;
            }

            public void set_$504(int _$504) {
                this._$504 = _$504;
            }

            public int get_$505() {
                return _$505;
            }

            public void set_$505(int _$505) {
                this._$505 = _$505;
            }

            public int get_$553() {
                return _$553;
            }

            public void set_$553(int _$553) {
                this._$553 = _$553;
            }

            public int get_$554() {
                return _$554;
            }

            public void set_$554(int _$554) {
                this._$554 = _$554;
            }

            public int get_$601() {
                return _$601;
            }

            public void set_$601(int _$601) {
                this._$601 = _$601;
            }

            public int get_$602() {
                return _$602;
            }

            public void set_$602(int _$602) {
                this._$602 = _$602;
            }

            public int get_$603() {
                return _$603;
            }

            public void set_$603(int _$603) {
                this._$603 = _$603;
            }

            public int get_$604() {
                return _$604;
            }

            public void set_$604(int _$604) {
                this._$604 = _$604;
            }

            public int get_$605() {
                return _$605;
            }

            public void set_$605(int _$605) {
                this._$605 = _$605;
            }
        }
    }

    public static class SetsBean {
        /**
         * id : 2
         * is_writable : true
         * meta : {}
         * nodeType : repository_website_root
         * permission_map : {"0":2,"1":2,"101":2,"102":2,"400":2,"452":2,"453":2,"501":2,"502":2,"503":2,"504":2,"505":2,"553":2,"554":2,"601":2,"602":2,"603":2,"604":2,"605":2}
         * predecessor_ids : []
         */

        private int id;
        private boolean is_writable;
        private MetaBeanX meta;
        private String nodeType;
        private PermissionMapBeanX permission_map;
        private List<?> predecessor_ids;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public boolean isIs_writable() {
            return is_writable;
        }

        public void setIs_writable(boolean is_writable) {
            this.is_writable = is_writable;
        }

        public MetaBeanX getMeta() {
            return meta;
        }

        public void setMeta(MetaBeanX meta) {
            this.meta = meta;
        }

        public String getNodeType() {
            return nodeType;
        }

        public void setNodeType(String nodeType) {
            this.nodeType = nodeType;
        }

        public PermissionMapBeanX getPermission_map() {
            return permission_map;
        }

        public void setPermission_map(PermissionMapBeanX permission_map) {
            this.permission_map = permission_map;
        }

        public List<?> getPredecessor_ids() {
            return predecessor_ids;
        }

        public void setPredecessor_ids(List<?> predecessor_ids) {
            this.predecessor_ids = predecessor_ids;
        }

        public static class MetaBeanX {
        }

        public static class PermissionMapBeanX {
            /**
             * 0 : 2
             * 1 : 2
             * 101 : 2
             * 102 : 2
             * 400 : 2
             * 452 : 2
             * 453 : 2
             * 501 : 2
             * 502 : 2
             * 503 : 2
             * 504 : 2
             * 505 : 2
             * 553 : 2
             * 554 : 2
             * 601 : 2
             * 602 : 2
             * 603 : 2
             * 604 : 2
             * 605 : 2
             */

            @SerializedName("0")
            private int _$0;
            @SerializedName("1")
            private int _$1;
            @SerializedName("101")
            private int _$101;
            @SerializedName("102")
            private int _$102;
            @SerializedName("400")
            private int _$400;
            @SerializedName("452")
            private int _$452;
            @SerializedName("453")
            private int _$453;
            @SerializedName("501")
            private int _$501;
            @SerializedName("502")
            private int _$502;
            @SerializedName("503")
            private int _$503;
            @SerializedName("504")
            private int _$504;
            @SerializedName("505")
            private int _$505;
            @SerializedName("553")
            private int _$553;
            @SerializedName("554")
            private int _$554;
            @SerializedName("601")
            private int _$601;
            @SerializedName("602")
            private int _$602;
            @SerializedName("603")
            private int _$603;
            @SerializedName("604")
            private int _$604;
            @SerializedName("605")
            private int _$605;

            public int get_$0() {
                return _$0;
            }

            public void set_$0(int _$0) {
                this._$0 = _$0;
            }

            public int get_$1() {
                return _$1;
            }

            public void set_$1(int _$1) {
                this._$1 = _$1;
            }

            public int get_$101() {
                return _$101;
            }

            public void set_$101(int _$101) {
                this._$101 = _$101;
            }

            public int get_$102() {
                return _$102;
            }

            public void set_$102(int _$102) {
                this._$102 = _$102;
            }

            public int get_$400() {
                return _$400;
            }

            public void set_$400(int _$400) {
                this._$400 = _$400;
            }

            public int get_$452() {
                return _$452;
            }

            public void set_$452(int _$452) {
                this._$452 = _$452;
            }

            public int get_$453() {
                return _$453;
            }

            public void set_$453(int _$453) {
                this._$453 = _$453;
            }

            public int get_$501() {
                return _$501;
            }

            public void set_$501(int _$501) {
                this._$501 = _$501;
            }

            public int get_$502() {
                return _$502;
            }

            public void set_$502(int _$502) {
                this._$502 = _$502;
            }

            public int get_$503() {
                return _$503;
            }

            public void set_$503(int _$503) {
                this._$503 = _$503;
            }

            public int get_$504() {
                return _$504;
            }

            public void set_$504(int _$504) {
                this._$504 = _$504;
            }

            public int get_$505() {
                return _$505;
            }

            public void set_$505(int _$505) {
                this._$505 = _$505;
            }

            public int get_$553() {
                return _$553;
            }

            public void set_$553(int _$553) {
                this._$553 = _$553;
            }

            public int get_$554() {
                return _$554;
            }

            public void set_$554(int _$554) {
                this._$554 = _$554;
            }

            public int get_$601() {
                return _$601;
            }

            public void set_$601(int _$601) {
                this._$601 = _$601;
            }

            public int get_$602() {
                return _$602;
            }

            public void set_$602(int _$602) {
                this._$602 = _$602;
            }

            public int get_$603() {
                return _$603;
            }

            public void set_$603(int _$603) {
                this._$603 = _$603;
            }

            public int get_$604() {
                return _$604;
            }

            public void set_$604(int _$604) {
                this._$604 = _$604;
            }

            public int get_$605() {
                return _$605;
            }

            public void set_$605(int _$605) {
                this._$605 = _$605;
            }
        }
    }
}
